import { post } from '@/server/index'
import type { AnswerListParamsType, AnswerListResultType } from './interface'

export const getAnswerListApi = (params: AnswerListParamsType) =>
  post<AnswerListParamsType, AnswerListResultType>('question/getAnswerList', params)
